import axios from 'axios';
import UrlList from '../config/UrlList';
import Intercept from './Inceptor';

const request = axios.create({
  baseURL: UrlList.BaseUrl, // api的base_url
  timeout: 150000, // 请求超时时间
});

Intercept(request);

export default request;
